/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.synjones.pay.bank.wx.bean.common;

import com.synjones.pay.model.context.StatusInfo;

/**
 * @author liubinqiang
 * @date 2017-5-18 20:46:49
 * @version V1.0
 * @desc
 */
public class WxResponseBean {

    private String errCode;
    private String errMsg;
    private String tipMsg;
    private Object data;
    private String time;

    public static WxResponseBean genNoData() {
        WxResponseBean bean = new WxResponseBean();
        bean.setErrCode(StatusInfo._9000.code());
        bean.setErrMsg("获取数据为空");
        return bean;
    }

    /**
     * @return the errCode
     */
    public String getErrCode() {
        return errCode;
    }

    /**
     * @param errCode the errCode to set
     */
    public void setErrCode(String errCode) {
        this.errCode = errCode;
    }

    /**
     * @return the errMsg
     */
    public String getErrMsg() {
        return errMsg;
    }

    /**
     * @param errMsg the errMsg to set
     */
    public void setErrMsg(String errMsg) {
        this.errMsg = errMsg;
    }

    /**
     * @return the tipMsg
     */
    public String getTipMsg() {
        return tipMsg;
    }

    /**
     * @param tipMsg the tipMsg to set
     */
    public void setTipMsg(String tipMsg) {
        this.tipMsg = tipMsg;
    }

    /**
     * @return the data
     */
    public Object getData() {
        return data;
    }

    /**
     * @param data the data to set
     */
    public void setData(Object data) {
        this.data = data;
    }

    /**
     * @return the time
     */
    public String getTime() {
        return time;
    }

    /**
     * @param time the time to set
     */
    public void setTime(String time) {
        this.time = time;
    }

}
